package com.traffic.annotation;

import com.traffic.constant.Const;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/9/26
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Power {
    /**
     * 权限标极 默认值为最低级别 查询级别权限
     * @return
     */
    String authority() default Const.AUTH_QUERY;
}
